#ifndef __DISPLAY__H__
#define __DISPLAY__H__

typedef struct 
{
    const char *icon_src;  // 图标路径
    const char *name;      // 应用名称
} app_item_t;

// 四个软件的图标和名称
static app_item_t app_list[5] = 
{
    {"A:/lingke/piano.bmp",  "Piano Block"},
    {"A:/lingke/bomb.bmp", "Minesweeper"},
    {"A:/lingke/sun.bmp", "Play Video"},
    {"A:/lingke/qiyu.bmp", "Other Program"},
    {"A:/lingke/yuyin.bmp", "Speech Recogn"}
};

static void app_icon_click1(lv_event_t *event) ;
static void app_icon_click2(lv_event_t *event) ;
static void app_icon_click3(lv_event_t *event) ;
static void app_icon_click4(lv_event_t *event) ;
static void app_icon_click5(lv_event_t *event) ;
static void app_icon_click6(lv_event_t *event) ;
static void create_app_icon(lv_obj_t *parent, app_item_t *app, int x, int y,int num);
static void exit_btn_click(lv_event_t *event);
void create_app_box_screen();




#endif